from datetime import datetime

n = datetime.now()
print("now: %s" % n)

n2 = datetime(2016, 10, 9, 16, 36)
print("n2 timestamp:%s", n.timestamp())